Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #27342 All Revisions ] Back to Issue ]
Summary 0027342: Stabilization: Unuseful code in ob-terminal-model.js - setUserModelOnline
Revision 2014-08-15 01:47 by Orekaria
Steps To Reproduce Verify that ob-terminal-model.js - setUserModelOnline has the following code

        user = users.models[0];
        me.usermodel = user;
        if (me.password) {
          //The password will only be recomputed in case it was properly entered
          //(that is, if the call comes from the login page directly)
          savedPass = me.generate_sha1(me.password + user.get('created'));
          user.set('password', savedPass);
          me.usermodel = user;
        } else {
          user = users.models[0];
          me.usermodel = user;
          if (me.password) {
            //The password will only be recomputed in case it was properly entered
            //(that is, if the call comes from the login page directly)
            savedPass = me.generate_sha1(me.password + user.get('created'));
            user.set('password', savedPass);
          }
        }
Revision 2014-08-15 01:46 by Orekaria
Steps To Reproduce Verify ob-terminal-model.js - setUserModelOnline


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker