new Login(t)
View Login, implements the login widget
It has 3 states:
- "loginWait" - The widget was shown
- "LoginDone" - The user filled fields and clicked login button
- "authOk" - User authenticated
The view emits event with the same name of status when reached.
It uses the mustache template login_template.mtjs
Parameters:
| Name | Type | Description |
|---|---|---|
t |
Telll | the telll object |
Methods
_init()
Init widget
_showLoginWidget(data)
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Returns:
bool
centerPanel()
Returns:
null
createUser(userData)
Parameters:
| Name | Type | Description |
|---|---|---|
userData |
Object | the user personal data |
Returns:
null
detach()
Returns:
null
faceLogin()
Returns:
null
signUp()
Returns:
null
verifyEmail(email)
Parameters:
| Name | Type | Description |
|---|---|---|
email |
String | email string to test |
Returns:
null
verifyPassword()
Returns:
null