-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Description
Description:
After clicking the verification link the user is redirected to the login page. When the user tries to login it gets a message saying the user is not found or the password is incorrect. When checking as admin, the user is still unverified.
Server Setup Information:
- Server Setup Information:
- Version of Rocket.Chat Server: 0.62.2
- Operating System: Ubuntu 16.04 LTS
- Deployment Method(snap/docker/tar/etc): Manual install
- Number of Running Instances: 1
- DB Replicaset Oplog:
- Node Version: 8.9.4
Steps to Reproduce:
- Configure SMTP (test it)
- Enable verification under Email -> verification
- Enable verification under Accounts -> Email verification
- Create a user.
- Click the verification link in the email.
Expected behavior:
Email should be verified
Actual behavior:
Email isn't verified
Relevant logs:
[34mI20180315-11:14:42.564(0) �[34mMeteor ➔ publish null -> userId: null , arguments: {} �[34mI20180315-11:14:42.570(0) Exception while invoking method 'verifyEmail' MongoError: The positional operator did not find the match needed from the query. Unexpanded update: emails.$.verified at Function.MongoError.create (/home/otm-admin/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/error.js:31:11) at toError (/home/otm-admin/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:139:22) at /home/otm-admin/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/collection.js:1059:67 at /home/otm-admin/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:469:18 at _combinedTickCallback (internal/process/next_tick.js:131:7) at process._tickDomainCallback (internal/process/next_tick.js:218:9) �[34mI20180315-11:14:42.570(0) �[34mMeteor ➔ publish roles -> userId: null , arguments: {} �[34mI20180315-11:14:42.571(0) �[34mMeteor ➔ publish stream-importers -> userId: null , arguments: { '0': 'progress', '1': { useCollection: false, args: [] } } �[34mI20180315-11:14:42.572(0) �[34mMeteor ➔ publish meteor_autoupdate_clientVersions -> userId: null , arguments: {} �[34mI20180315-11:14:42.575(0) �[34mMeteor ➔ publish stream-notify-all -> userId: null , arguments: { '0': 'updateCustomSound', '1': { useCollection: false, args: [] } } �[34mI20180315-11:14:42.576(0) �[34mMeteor ➔ publish stream-notify-all -> userId: null , arguments: { '0': 'deleteCustomSound', '1': { useCollection: false, args: [] } } �[34mI20180315-11:14:42.577(0) �[34mMeteor ➔ publish activeUsers -> userId: null , arguments: {} �[34mI20180315-11:14:42.578(0) �[34mMeteor ➔ publish userData -> userId: null , arguments: {} �[34mI20180315-11:14:42.579(0) �[34mMeteor ➔ publish stream-notify-all -> userId: null , arguments: { '0': 'public-settings-changed', '1': { useCollection: false, args: [] } } �[34mI20180315-11:14:42.587(0) �[34mMeteor ➔ method autoTranslate.getSupportedLanguages -> userId: null , arguments: { '0': 'en' } �[34mI20180315-11:14:42.590(0) �[34mMeteor ➔ method listCustomSounds -> userId: null , arguments: {} �[34mI20180315-11:14:42.591(0) �[34mMeteor ➔ method listEmojiCustom -> userId: null , arguments: {} �[34mI20180315-11:14:42.594(0) �[34mMeteor ➔ method apps/is-enabled -> userId: null , arguments: {} �[34mI20180315-11:14:42.595(0) �[34mMeteor ➔ method permissions/get -> userId: null , arguments: {} �[34mI20180315-11:14:42.597(0) �[34mMeteor ➔ method public-settings/get -> userId: null , arguments: {} �[34mI20180315-11:14:42.622(0) �[34mMeteor ➔ method UserPresence:online -> userId: null , arguments: { '0': null } �[34mI20180315-11:14:42.624(0) �[34mMeteor ➔ method loadLocale -> userId: null , arguments: { '0': 'nl' } �[34mI20180315-11:14:42.852(0) �[34mMeteor ➔ method permissions/get -> userId: null , arguments: { '0': 2018-03-15T11:14:42.650Z } �[34mI20180315-11:14:42.973(0) �[34mMeteor ➔ method public-settings/get -> userId: null , arguments: { '0': 2018-03-15T11:14:42.818Z }