Display unhashed client secret
This commit is contained in:
parent
515b502364
commit
eece534f1d
4 changed files with 49 additions and 4 deletions
|
|
@ -16,6 +16,8 @@ export interface State {
|
|||
profile: null | User
|
||||
oauth: OAuthTokens
|
||||
scopedTokens: ScopedTokens
|
||||
|
||||
applicationSecret: string | undefined
|
||||
}
|
||||
|
||||
interface ScopedTokens {
|
||||
|
|
@ -71,7 +73,9 @@ const store: Module<State, RootState> = {
|
|||
},
|
||||
profile: null,
|
||||
oauth: getDefaultOauth(),
|
||||
scopedTokens: getDefaultScopedTokens()
|
||||
scopedTokens: getDefaultScopedTokens(),
|
||||
|
||||
applicationSecret: undefined
|
||||
},
|
||||
getters: {
|
||||
header: state => {
|
||||
|
|
@ -93,6 +97,8 @@ const store: Module<State, RootState> = {
|
|||
library: false,
|
||||
moderation: false
|
||||
}
|
||||
|
||||
state.applicationSecret = undefined
|
||||
},
|
||||
profile: (state, value) => {
|
||||
state.profile = value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue