Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/provider/UALProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export class UALProvider extends Component {
const users = await authenticator.login()
const accountName = await users[0].getAccountName()
if (!isAutoLogin) {
window.localStorage.setItem('UALLoggedInAuthType', authenticator.constructor.name)
window.localStorage.setItem('UALLoggedInAuthType', authenticator.getStyle().text)
this.setUALInvalidateAt(authenticator)
}
broadcastStatus({
Expand Down Expand Up @@ -195,7 +195,7 @@ export class UALProvider extends Component {
*/
submitAccountForLogin: async (accountInput, authenticator) => {
const { broadcastStatus } = this.state
const authenticatorName = authenticator.constructor.name
const authenticatorName = authenticator.getStyle().text
broadcastStatus({
loading: true,
message: authenticator.requiresGetKeyConfirmation()
Expand Down