ubccr / mokey

FreeIPA self-service account management portal
BSD 3-Clause "New" or "Revised" License
191 stars 46 forks source link

Add better docs on configuration settings #119

Open Jonathan-Caruana opened 1 year ago

Jonathan-Caruana commented 1 year ago

Hi !

I recently updated my previous Mokey installation from 0.5.6 to 0.6.3 and i didn't find how i can change some visual things like add personnal logo or change colors like i did before.

Previously i was able to do those changes and more (customize email template, error page etc...)

Can you help me please?

Regards,

Jonathan-Caruana commented 1 year ago

I think i found the problem :+1:

the mokey.toml provided by the rpm i used doesn't contain all settings :


#------------------------------------------------------------------------------
# Site specific configuration
#------------------------------------------------------------------------------
[site]
# Name of your site
name = "Connectics Self-service portal"

# Homepage of your organization
homepage = ""

# Link to your sites help pages
help_url = ""

# Link to your getting started guide
getting_started_url = ""

# Link to your terms of service
tos_url = ""

# User account for the mokey service
ktuser = "mokeyapp"

# Path to keytab file
keytab = "/etc/mokey/private/mokeyapp.keytab"

Nevertheless the mokey.toml.sample provide all settings i need :

https://github.com/ubccr/mokey/blob/main/mokey.toml.sample

# Path to custom favicon.ico file
favicon = ""

# Path to logo
logo = ""

# Path to custom css styles file
css = ""

# Path to local template override directory. You can override one or more
# of the templates using this directory
# templates_dir = "/usr/share/mokey/templates"

Maybe the rpm file need to be updated?

Regards

aebruno commented 1 year ago

@Jonathan-Caruana Thanks for the feedback. I'll include a better default mokey.toml config with the rpm/deb packages in the next release.