mirror of
https://github.com/bitwarden/web
synced 2025-12-10 05:13:40 +00:00
only use icon images if not self hosted
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
angular
|
angular
|
||||||
.module('bit.services')
|
.module('bit.services')
|
||||||
|
|
||||||
.factory('cipherService', function (cryptoService, apiService, $q, $window, constants) {
|
.factory('cipherService', function (cryptoService, apiService, $q, $window, constants, appSettings) {
|
||||||
var _service = {};
|
var _service = {};
|
||||||
|
|
||||||
_service.decryptCiphers = function (encryptedCiphers) {
|
_service.decryptCiphers = function (encryptedCiphers) {
|
||||||
@@ -187,7 +187,7 @@ angular
|
|||||||
};
|
};
|
||||||
|
|
||||||
function setLoginIcon(cipher, uri, setImage) {
|
function setLoginIcon(cipher, uri, setImage) {
|
||||||
if (uri) {
|
if (!appSettings.selfHosted && uri) {
|
||||||
var hostnameUri = uri,
|
var hostnameUri = uri,
|
||||||
isWebsite = false;
|
isWebsite = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user