Pregunta

Estoy usando Diseñar - ¿cómo puedo hacer una validación adicional al acceder?

Quiero verificar el registro de la cuenta en la que se asocia con el subdominio actual.

Gracias.

¿Fue útil?

Solución

Take a look at this page from the Devise Wiki on GitHub: https://github.com/plataformatec/devise/wiki/How-To:-Customize-user-account-status-validation-when-logging-in

I think that will work for what you are talking about.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top