Adding all the code i changed. It now supports mfa, passkeys and passwords

This commit is contained in:
Janis Steiner
2024-12-25 23:56:19 +01:00
parent ea743d19e9
commit e8cba3edf6
49 changed files with 7730 additions and 24 deletions

View File

@@ -20,8 +20,12 @@ COPY ./app-code /var/www/html
# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
RUN mkdir -p /var/www/vendor
RUN chown -R www-data:www-data /var/www/vendor
# Install WebAuthn library using Composer
RUN composer require web-auth/webauthn-lib
RUN composer require web-auth/webauthn-lib --working-dir=/var/www/vendor
RUN composer require web-auth/webauthn-framework --working-dir=/var/www/vendor
# Create necessary directories with appropriate permissions
RUN mkdir -p /var/www/html/install/ \