Merge pull request #508 from mhelander/sea

Fixed  _initial_authsettings bug
This commit is contained in:
Mark Nadal 2018-02-26 13:58:16 -08:00 committed by GitHub
commit 8fb1ef8b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
sea.js
View File

@ -1038,6 +1038,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() {