[Pushed] mysql
#4
IMHO that's a pretty rare case: We check whether "2fasecret" exists and if so we rename it: https://github.com/mybb/mybb/blob/featur...33.php#L31 If there's already a "authsecret" column and a "2fasecret" something went horribly wrong (or the database was changed manually). Dropping the column shouldn't be done here as there may be boards which renamed it manually (SQLite/PgSQL users) so we'd disable 2FA for those users and they may not notice it. The way it's been done should work for all usual cases, including rerunning the update.
Support PMs will be ignored!
Reply


Messages In This Thread
mysql - by satdav - 2015-06-05, 09:40 AM
RE: mysql - by Josh H. - 2015-06-06, 07:35 PM
RE: mysql - by Destroy666 - 2015-06-07, 02:32 AM
RE: mysql - by Jones H - 2015-06-28, 10:59 AM
RE: mysql - by Destroy666 - 2015-06-29, 01:24 AM
RE: mysql - by Jones H - 2015-06-29, 06:27 AM
RE: mysql - by Destroy666 - 2015-06-29, 11:25 AM
RE: mysql - by satdav - 2015-06-30, 04:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)