()
| 221 | getSlugOrID () { return this.get('slug') || this.get('_id') } |
| 222 | |
| 223 | hasNoPasswordLoginMethod () { |
| 224 | // Return true if user has any login method that doesn't require a password |
| 225 | return Boolean(this.get('facebookID') || this.get('gplusID') || this.get('githubID') || this.get('cleverID')) || (this.get('oAuth2Identities')?.length > 0) |
| 226 | } |
| 227 | |
| 228 | currentPasswordRequired () { |
| 229 | // Return true if current password should be given for password change |
no test coverage detected