fix(configure): do not modify passed configuration
This commit is contained in:
parent
9b93a47e45
commit
df0aa1c46d
@ -22,14 +22,16 @@ export const configurationSchema = {
|
||||
// ===================================================================
|
||||
|
||||
class AuthGoogleXoPlugin {
|
||||
constructor (xo) {
|
||||
constructor ({ xo }) {
|
||||
this._conf = null
|
||||
this._xo = xo
|
||||
}
|
||||
|
||||
configure (conf) {
|
||||
conf.scope = 'https://www.googleapis.com/auth/plus.login'
|
||||
|
||||
this._conf = conf
|
||||
this._conf = {
|
||||
...conf,
|
||||
scope: 'https://www.googleapis.com/auth/plus.login'
|
||||
}
|
||||
}
|
||||
|
||||
load () {
|
||||
|
Loading…
Reference in New Issue
Block a user