Fixing login() function after flash updates
Merge pull request #275 from psav/fix_login

Fixing login() function after flash updates