Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33087637
D14818.1768459163.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
492 B
Referenced Files
None
Subscribers
None
D14818.1768459163.diff
View Options
diff --git a/services/backup/src/identity/mod.rs b/services/backup/src/identity/mod.rs
--- a/services/backup/src/identity/mod.rs
+++ b/services/backup/src/identity/mod.rs
@@ -50,6 +50,11 @@
.map_err(Error::GrpcStatus)?
.into_inner();
+ if response.is_reserved {
+ // when username is reserved, user exists but has no backup
+ return Err(BackupError::NoBackup);
+ }
+
match response.user_id {
Some(user_id) => Ok(user_id),
None => Err(BackupError::NoUserID),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 6:39 AM (5 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5936546
Default Alt Text
D14818.1768459163.diff (492 B)
Attached To
Mode
D14818: [backup] Fix finding userID for reserved users
Attached
Detach File
Event Timeline
Log In to Comment