Fixed _initial_authsettings bug

This commit is contained in:
Mika 2018-02-26 14:08:39 +02:00 committed by GitHub
parent 8669d63879
commit bd761c3819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
sea.js
View File

@ -1031,6 +1031,8 @@
const authenticate = USE('./authenticate')
const finalizeLogin = USE('./login')
const authLeave = USE('./leave')
const { recall: _initial_authsettings } = USE('./settings')
// let's extend the gun chain with a `user` function.
// only one user can be logged in at a time, per gun instance.
Gun.chain.user = function() {