Skip to content
Discussion options

You must be logged in to vote

@marcnyc2001 @scopemonkey — scopemonkey, your diagnosis is exactly right. This was tracked as issue #567 and fixed in v1.9.16 (commit ac340e5a):

When upgrading from v1.3 without running the wizard, the cal_passwd column stays at VARCHAR(32). The MD5-to-bcrypt rehash on login was getting silently truncated by MySQL, locking users out. The fix verifies the stored hash after rehashing and reverts to the old hash if truncated.

To fully resolve this on your installs:

  1. Upgrade to v1.9.16 (latest release): https://github.com/craigk5n/webcalendar/releases/tag/v1.9.16
  2. Run the missing upgrade SQL manually — v1.9.16 prevents future lockouts but doesn't widen the column on its own:
ALTER TABLE web…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@scopemonkey
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by craigk5n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants