summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/KernelKit/UserMgr.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-29 15:01:34 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-29 15:01:34 -0500
commitceabd82ac8e796249feacf39c836034ed5e11c6d (patch)
treee446d471a0eaf4ed7ac67e878ce4fb02334a2acb /src/kernel/KernelKit/UserMgr.h
parent0376382a848ef5ebbb0e02428c9d1df8a099d8b4 (diff)
chore: source code review and fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/KernelKit/UserMgr.h')
-rw-r--r--src/kernel/KernelKit/UserMgr.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/KernelKit/UserMgr.h b/src/kernel/KernelKit/UserMgr.h
index 3ce6254d..4f41ecdb 100644
--- a/src/kernel/KernelKit/UserMgr.h
+++ b/src/kernel/KernelKit/UserMgr.h
@@ -64,23 +64,23 @@ class User final {
public:
/// @brief Get software ring
- const UserRingKind& Ring() noexcept;
+ const UserRingKind& Ring();
/// @brief Get user name
- Char* Name() noexcept;
+ Char* Name();
/// @brief Is he a standard user?
- Bool IsStdUser() noexcept;
+ Bool IsStdUser();
/// @brief Is she a super user?
- Bool IsSuperUser() noexcept;
+ Bool IsSuperUser();
/// @brief Saves a password from the public key.
- Bool Save(const UserPublicKey password) noexcept;
+ Bool Save(const UserPublicKey password);
/// @brief Checks if a password matches the **password**.
/// @param password the password to check.
- Bool Login(const UserPublicKey password) noexcept;
+ Bool Login(const UserPublicKey password);
private:
UserRingKind mUserRing{UserRingKind::kRingStdUser};