عند استخدام الـ API، قمت بإنشاء مستخدم مع تعيين activate إلى true، ويظهر أن المستخدم مفعل عند عرضه من وحدة تحكم المسؤول.
لكن عند محاولة تسجيل الدخول كالمستخدم، تظهر الرسالة التالية:
لا يمكنك تسجيل الدخول بعد. لقد أرسلنا سابقًا بريدًا إلكترونيًا لتفعيل الحساب إلى user@email.com. يرجى اتباع التعليمات الواردة في ذلك البريد لتفعيل حسابك.
لماذا أرى هذه الرسالة؟ كنت أحاول تجنبها، فهل يمكنني تعيين شيء ما لتجاهلها؟
أرغب في تجاهل ذلك لأنني أحاول ببساطة نقل المستخدمين الحاليين من منتدى قديم إلى منتدى Discourse الجديد، ويبدو أن طلب التفعيل منهم إجراء غير ضروري. أفهم تمامًا لماذا قد يكون ذلك ضروريًا لمستخدم جديد سجل للتو في هذا المنتدى.
أيضًا، أنا أقوم حاليًا بإنشاء مستخدم واحد فقط كاختبار، ولكن في مرحلة ما سأقوم بإنشاء 5000 مستخدم. قد يكون هذا الإجراء خاطئًا وقد أحتاج إلى إعادة التشغيل، لذا لا أرغب حاليًا في إرسال أي رسائل بريد إلكتروني حتى أكون جاهزًا للإطلاق الرسمي. هل يمكنني تعطيل ذلك؟
Once a user is deactivated, they’ll have to reactivate their account via email. So this would still require an “effort” on their part.
When users from an old forum moved to our current forum, everything was via the invite email and no one complained. Most filled out their profiles except a few. The “hardest” part was getting them to do their profiles/bios. I think it would easier on you to just let your users go through the steps that are already set up - click on email link, set up their account… done. Just remind them they’ll probably have to change their username from the default that Discourse assigns (everything before the @ in their email address).
Thanks that worked, it does seem that create user with activate set to true means it doesnt send email but doesnt activate properly either so when you try to login first time it tells you that you have been sent an activate email when you haven, but I may have got this wrong.
But deactivating and then activating lets you login first time without activation, and no email is sent which is what I wanted.