BrainCMS Registration Issue (Fix)

MarcusDEV

Retro Developer
Members
3Posts:
1 Threads:
Nov 18Joined:
0 Reputation:
#1
Star 
There have been cases where registration of users has not worked in BrainCMS 1.8.9.
I'm not 100% sure what is the reason for the problem, but this is what worked for me.

1. Check if the Id column in the users table is auto increment.
2. Run this sql:
Code:
ALTER TABLE users ADD google_secret_code VARCHAR (200) NULL;
ALTER TABLE users ADD 2fa_status int (1) NOT NULL DEFAULT 0;

This is what worked for me, hope this worked for you too Smile
Brandon likes this post
Reply

Tom

RetroRiper Love
Owner
Developer
60Posts:
6 Threads:
Oct 07Joined:
4 Reputation:
Developer
#2
Nice work! 

I wil test it :D
[Image: logo.png]
Reply
Users browsing this thread:
1 Guest(s)