Login screen
import Login from 'uc-login';
const login = new Login({
container: document.body,
hotkey: 'ctrl+l'
});
Default options are used in the example above.
The api in the app must have auth controller.
Show the login screen. If err
is provide the err.message
will be shown.
Hides the login screen.
License MIT
© velocityzen