Commit c63f8d98d5
Unregistered key
Layout: unified · split
src/worker.rs +1 −1
| @@ -1311,7 +1311,7 @@ impl ClientWorker { | ||
| 1311 | 1311 | |
| 1312 | 1312 | async fn logout(&mut self, user_id: String) -> IambResult<EditInfo> { |
| 1313 | 1313 | // Verify that the user is logging out of the correct profile. |
| 1314 | let curr = self.settings.profile.user_id.as_ref(); | |
| 1314 | let curr = self.settings.profile.user_id.as_str(); | |
| 1315 | 1315 | |
| 1316 | 1316 | if user_id != curr { |
| 1317 | 1317 | let msg = format!("Incorrect user ID (currently logged in as {curr})"); |