Confirmed users
134
edits
Stomlinson (talk | contribs) |
Stomlinson (talk | contribs) |
||
Line 104: | Line 104: | ||
// Our bear is masquerading as two bears. | // Our bear is masquerading as two bears. | ||
navigator.id.sessions = [{ | navigator.id.sessions = [{ | ||
email: 'poohbear@ashdownforest.gov.uk', | |||
status: 'active' | status: 'active' | ||
}, { | }, { | ||
email: 'yogibear@jellystone.nps.gov', | |||
}]; | }]; | ||
If 0 sessions are currently active, the browser status button will read "login". When the user clicks the button, they will be presented a the doorhanger to select a session. When the user selects a session, the "login" event will be triggered with the selected id given as the "id" field of the event object. | If 0 sessions are currently active, the browser status button will read "login". When the user clicks the button, they will be presented a the doorhanger to select a session. When the user selects a session, the "login" event will be triggered with the selected id given as the "id" field of the event object. | ||
===Changing Sessions=== | ===Changing Sessions=== |