repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update selected item color in Pass menu
[ProtonMail-WebClient.git]
/
packages
/
pass
/
lib
/
auth
/
flags.ts
blob
242bf03363891d3bd6e6ba928b5862e27a646708
1
import { AuthMode } from '@proton/pass/types';
2
3
export const AUTH_MODE =
4
!(typeof EXTENSION_BUILD !== 'undefined' && EXTENSION_BUILD) && !localStorage.getItem('ps_legacy')
5
? AuthMode.COOKIE
6
: AuthMode.TOKEN;