()
| 299 | }, |
| 300 | |
| 301 | error() { |
| 302 | const instance = Template.instance(); |
| 303 | const result = instance.result.get(); |
| 304 | return result && result.error; |
| 305 | }, |
| 306 | |
| 307 | credentialToConfirm() { |
| 308 | const credentialId = SandstormDb.getUserCredentialIds(Meteor.user())[0]; |