Skip to content

Commit e114404

Browse files
committed
[fix] Fixed CI
1 parent 0d3113b commit e114404

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ jobs:
107107

108108
- name: Get openwisp-radius
109109
run: |
110-
git clone --depth=1 https://github.com/openwisp/openwisp-radius/ openwisp-radius
110+
# TODO: Remove branch before merging
111+
git clone --depth=1 --branch issues/692-different-identity-verification https://github.com/openwisp/openwisp-radius/ openwisp-radius
111112
cd openwisp-radius
112113
echo "OpenWISP RADIUS commit: $(git rev-parse HEAD)"
113114
echo "OW_RADIUS_VERSION=$(git rev-parse HEAD)" >> $GITHUB_ENV

client/utils/pending-verification.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
export const getEnabledVerificationMethods = (settings = {}) => {
2-
const methods = [];
3-
if (settings.mobile_phone_verification) {
4-
methods.push("mobile_phone");
5-
}
6-
if (settings.subscriptions) {
7-
methods.push("bank_card");
8-
}
9-
return methods;
10-
};
11-
121
export const userPendingVerification = (user = {}) =>
132
user.method === "pending_verification" && user.is_verified === false;
143

0 commit comments

Comments
 (0)