isfit/opptak.isfit.org

current_user should check that user still exists.

Closed this issue · 2 comments

Because we empty the database between application periods, returning users get exceptions thrown if they are still logged in.

If the user no longer exists, the session user_id should be set to nil, and.

cc: @chrpeter

I will look into this.

Solved in commit c5b8715.