File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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-
121export const userPendingVerification = ( user = { } ) =>
132 user . method === "pending_verification" && user . is_verified === false ;
143
You can’t perform that action at this time.
0 commit comments