title: how to implement second level authentication in rails?
body: <p>I have a <code>devise</code> <code>authentication</code> already setup in my <code>application</code>.Now i want to implement <code>second level authentication</code> in <code>rails</code>. i want to <code>hard code</code> the <code>email</code> and <code>password</code> in coding in <code>controllers</code>. i want to compare this <code>email</code> and <code>password</code> with the <code>email</code> and <code>password</code> provided by the <code>user</code>. rather than saving in <code>database</code> and picking for <code>second level authentication</code>.,Because these 5 to 6 <code>links</code> are going to be used by only one <code>person</code> in the <code>company</code> at any point of time. i want to implement this for a 5 to 6 <code>actions</code> in my application in controller. how can i implement this? i checked a gem gem 'devise-authy' but it seems it sends a <code>password</code> to mobile for <code>otp</code> authentication. i dont want otp authentication. i want a second level authentication with the same email as devise email but the password should be different from the devise original password.(like in devise table i want to take one more column second_level_password.) is there any <code>gem</code> for this kind of requirement or is this <code>manually</code> coded. if it is <code>manually</code> coded then how can i do that?</p>