V8-archive: Inactive User Error Code

Created on 16 Oct 2018  路  4Comments  路  Source: directus/v8-archive

I am getting the wrong error code when trying to log in with a inactive user

  1. Log out
  2. Disable user (draft)
  3. Try to log in
  4. Get 104 error (should be 103)

https://docs.directus.io/api/reference.html#error-codes

screen shot 2018-10-15 at 9 23 02 pm

Ref: https://github.com/directus/app/issues/976

bug good first issue

Most helpful comment

Would it be ok for me to try and take this on or is it closed now?

All 4 comments

Would it be ok for me to try and take this on or is it closed now?

Hey @LiamBailey! It鈥檚 all yours 馃檪

I think it鈥檚 this one

https://github.com/directus/api/blob/5939dd7423aff65b865b62ece75aed4884fa4f93/src/core/Directus/Authentication/Exception/UserInactiveException.php#L9

But I鈥檓 not a 100% sure.

We also need to double check that it鈥檚 actually an error in the code or an error in the docs. If another error already exists with the 103 code, we shouldn鈥檛 change this

That would be great @LiamBailey, the file Rijk pointed out is the correct file, and the error is in the code and not in the docs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chintohere picture chintohere  路  3Comments

magikstm picture magikstm  路  3Comments

HashemKhalifa picture HashemKhalifa  路  3Comments

ondronix picture ondronix  路  3Comments

cdwmhcc picture cdwmhcc  路  3Comments