Fix NoMethodError in random_password
Fix NoMethodError in random_password

The method `random_password` uses `self` to retrieve the `password_length` configuration, but `self` is the `User` class, which has no `password_length` by default.

The length of the password should be fetch from Devise's own config
scambra/devise_invitable,scambra/devise_invitable