Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Make account model use identifier attribute
Now models.account.getAccountLogin (and models.account.getAccountName) will use the identifier attribute from the account to choose the right login field, as described in the account doctype documentation. This identifier attribute is calculated using the `role: identifier` attribute from account.auth if any.
- Loading branch information
1 parent
c0c7fbf
commit d275c2c
Showing
3 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters