Error logging in
code {{ error['code'] }}
error {{ error['error'] }}
Your are logged in as:
{{ json.dumps(handler.current_user, indent=4) }}
You are not logged in.
{% end %}Your session expires in {{ '{:,.0f}'.format(handler.session['_t'] - time.time()) }} seconds
Remember me
This example shows how you can use a checkbox to implement the "Remember
me" scenario. You can log in below as alpha
with password
alpha
or as beta
with the password
beta
. The session will expire based on the duration you pick
below.
By default, the user is logged in for 1 day. When the user checks the "Remember me" box, they are logged in for 1 month.
Custom Expiry
You can log in below as alpha
with password
alpha
or as beta
with the password
beta
. The session will expire based on the duration you pick
below.