MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/qk15te/error_in_my_code/hiu1zf6/?context=3
r/CodingHelp • u/ITZINFINITEOfficial • Oct 31 '21
11 comments sorted by
View all comments
2
Do you have an overloaded constructor for User?
Otherwise you likely just need to get the pass from the user variable and not instantiate a new User obj. Without seeing the user class it’s hard to say for sure.
1 u/ITZINFINITEOfficial Nov 01 '21 Yeah my b I can’t post the code or mods will block it
1
Yeah my b I can’t post the code or mods will block it
2
u/s5EWT Nov 01 '21
Do you have an overloaded constructor for User?
Otherwise you likely just need to get the pass from the user variable and not instantiate a new User obj. Without seeing the user class it’s hard to say for sure.