Compare commits

...

3 commits

3 changed files with 16 additions and 1 deletions

View file

@ -39,6 +39,9 @@
<input type="text" class="ps-input" id="email" name="email" autofocus value="${(account.email!'')}"/> <input type="text" class="ps-input" id="email" name="email" autofocus value="${(account.email!'')}"/>
</div> </div>
<h3>Personal details</h3>
<p>Please note that providing identifying data is not required and should be done with great care. At the moment, your first name and last name are only displayed in Nextcloud.</p>
<div class="ps-form-group ${messagesPerField.printIfExists('firstName','has-error')}"> <div class="ps-form-group ${messagesPerField.printIfExists('firstName','has-error')}">
<label for="firstName" class="ps-form-group--label">${msg("firstName")}</label> <label for="firstName" class="ps-form-group--label">${msg("firstName")}</label>

View file

@ -1,4 +1,4 @@
parent=keycloak.v2 parent=account-v1
import=common/pub.solar import=common/pub.solar
styles= styles=

View file

@ -1,10 +1,22 @@
final: prev: final: prev:
let let
pkgs = final; pkgs = final;
version = "0.1";
keycloak-account-v1 = prev.fetchMavenArtifact {
artifactId = "keycloak-account-v1";
groupId = "io.phasetwo.keycloak";
inherit version;
hash = "sha256-t4kuc5ZieqsC06/alFN0W1ktORuk36TIgKXfrmBtesA=";
};
in in
{ {
# this key should be the same as the simpleFlake name attribute. # this key should be the same as the simpleFlake name attribute.
keycloak-theme-pub-solar = { keycloak-theme-pub-solar = {
keycloak-theme-pub-solar = import ./pkgs/keycloak-theme-pub-solar.nix { inherit pkgs; }; keycloak-theme-pub-solar = import ./pkgs/keycloak-theme-pub-solar.nix { inherit pkgs; };
keycloak = prev.keycloak.overrideAttrs (finalAttrs: previousAttrs: {
installPhase = previousAttrs.installPhase + ''
ln -s ${keycloak-account-v1}/share/java/keycloak-account-v1-${version}.jar $out/providers/keycloak-account-v1-${version}.jar
'';
});
}; };
} }