+ }
+
+ ngAfterViewInit () {
+ if (this.usernameInput) {
+ this.usernameInput.nativeElement.focus()
+ }
+
+ this.hooks.runAction('action:login.init', 'login')
+ }
+
+ getExternalLogins () {
+ return this.serverConfig.plugin.registeredExternalAuths
+ }