Updated login API to throw 301 when an un-migrated user attempts to login.

This commit is contained in:
rainbow napkin 2025-10-16 06:55:36 -04:00
parent 66ec2fabc5
commit 6ae652b47c
2 changed files with 25 additions and 10 deletions

View file

@ -17,7 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
//Local Imports
const config = require('../../config.json');
const {userModel} = require('../schemas/user/userSchema.js');
const userBanModel = require('../schemas/user/userBanSchema.js')
const userBanModel = require('../schemas/user/userBanSchema.js');
const altchaUtils = require('../utils/altchaUtils.js');
const loggerUtils = require('../utils/loggerUtils.js');