mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-14 03:39:53 +03:00
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
https://gitlab.alpinelinux.org/alpine/aports/-/issues/15620
|
|
|
|
diff -Nurp a/src/pybind/mgr/dashboard/services/access_control.py b/src/pybind/mgr/dashboard/services/access_control.py
|
|
--- a/src/pybind/mgr/dashboard/services/access_control.py 2024-01-03 00:12:46.140405728 +0000
|
|
+++ b/src/pybind/mgr/dashboard/services/access_control.py 2024-01-03 00:14:22.825611708 +0000
|
|
@@ -12,7 +12,7 @@ from datetime import datetime, timedelta
|
|
from string import ascii_lowercase, ascii_uppercase, digits, punctuation
|
|
from typing import List, Optional, Sequence
|
|
|
|
-import bcrypt
|
|
+import bcrypt_ceph as bcrypt
|
|
from mgr_module import CLICheckNonemptyFileInput, CLIReadCommand, CLIWriteCommand
|
|
from mgr_util import password_hash
|
|
|
|
diff -Nurp a/src/pybind/mgr/mgr_util.py b/src/pybind/mgr/mgr_util.py
|
|
--- a/src/pybind/mgr/mgr_util.py 2024-01-03 00:11:59.903829031 +0000
|
|
+++ b/src/pybind/mgr/mgr_util.py 2024-01-03 00:13:56.113278518 +0000
|
|
@@ -3,7 +3,7 @@ import os
|
|
if 'UNITTEST' in os.environ:
|
|
import tests
|
|
|
|
-import bcrypt
|
|
+import bcrypt_ceph as bcrypt
|
|
import cephfs
|
|
import contextlib
|
|
import datetime
|