Closed KeizerDev closed 8 years ago
@iLexiconn Yeah, sorry :wink:
Just copy and pasted it from another project.
Btw, i'll change it to a serialized object.
You can revert it.
Too late. :/
There is the Revert
button for :p
I know, but I already made changes to the class.
Already fixed it tho
Make a new pr for it. :p
Lol, you did it already ;p.
Btw.
Why do you keep the getters for password
, username
and stayLoggedIn
?
user.password
, etc. will actually do the same.
Because they're private, and I want other classes to be able to access them.
Well, maybe we shouldn't save the password as a variable at all.
Just do it. I want it :D
Why do you need it?
Testing purposes
Lol, joking. You can make a test if people are not changing their password in their current password for example.
Pretty sure magister returns an error if that's the case.
True, but data is data and as a library for mainly devices you should try to minimize it as most as possible.
And what if people are losing their session? Do you want them to relog or just get the one you can store? I'm pretty sure every Android app that is build for Magister stores that kind of stuff
I really hope you aren't getting all those passwords from your Mister app.
Not anymore. Got like 70 with it just to keep on with development when I left school.
The rest of the list was from other sources
But that's not my point.
I really don't think this is acceptable. I'm not going to story the password in any kind of way.
Lol, I hope you know that you firstly won't store them and secondly, there are like 1000 ways to still get them. But yeah, it is your library so you can choose
And what I mean with store is locally.
Please fix the variable names first